//0.发送验证码
export interface SendCodeDTO {
  username?: string
  email?: string //  email 和 phone 可选
  phone?: string
}
//1. 登录注册重置都可以用这个
export interface UserLoginDTO {
  username?: string
  password?: string
  rePassword?: string
  email?: string
  phone?: string
  imageBase64: string
  code: string
}

//2. 绑定手机号
export interface BindPhoneDTO {
  phone: string
  imageBase64: string
  code: string
}
//3. 绑定邮箱
export interface BindEmailDTO {
  email: string
  imageBase64: string
  code: string
}
